TOSTRING(
#version 330 core \n
#pragma optimize(on) \n

#define ATTR_POSITION	0 \n
#define ATTR_TEXCOORD	2 \n
#define ATTR_COLOR		1 \n
#define ATTR_DEPTH		3 \n

layout(location = ATTR_POSITION)	in vec4  inPosition;
layout(location = ATTR_TEXCOORD)	in vec4  inTexcoord;
layout(location = ATTR_COLOR)		in vec4  inColor;
layout(location = ATTR_DEPTH)		in float inDepth;

out	TVertexData {
	vec4	vRect;
	vec4	vColor;
	vec4	vTexcoord;
	float	fDepth;
} Output;


void main()
{
	Output.vRect		= inPosition;
	Output.fDepth		= inDepth;
	Output.vColor		= inColor;
	Output.vTexcoord	= inTexcoord;
}
)